package com.lechi.web.service;

import java.util.List;
import java.util.Map;

/**
 * The interface Scheduler service.
 *
 * @author yangguang
 */
public interface ISchedulerService {

    /**
     * Add dynamic job.
     *
     * @param period             the period
     * @param deviceSnAndCmdList the device sn and cmd list
     */
    void addDynamicJob(String period, List<Map<String, String>> deviceSnAndCmdList);

    /**
     * Remove job.
     *
     * @param period the period
     */
    void removeJob(String period);
}